for %%d in (..\gsl\gsl_*.h) do ( echo deleting "%%d" & del "%%d") 
for /R %1 %%d in (gsl_*.h) do (echo copying "%%d" to "..\gsl\%%~nd.x" & copy "%%d" "..\gsl\%%~nd.x" )